import { Switch as AntdSwitch } from 'antd';
import type { CommonComponentProps } from '../../interface';

const Switch = ({id, type, text}: CommonComponentProps) => {
  return (
    <AntdSwitch data-component-id={id} type={type}>{text}</AntdSwitch>
  )
}

export default Switch;
